package cn.itsource.mapper.system;

import cn.itsource.system.domain.Role;
import cn.itsource.system.query.RoleQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {
    List<Role> selectAll();

    Role select(Integer id);

    void delete(Integer id);

    void update(Role role);

    void add(Role role);

    void deleteMore(Long[] ids);

    List <Role> queryRole(RoleQuery roleQuery);



}
